<template>
  <div class="word">{{ msg }}</div>
</template>

<style lang="less" scope>
.word {
  background: red;
  width: 100%;
  height: 200px;
  color: #fff;
}
</style>

<script>
export default {
  data() {
    return {
      msg: "你好"
    };
  },
  mounted() {
    console.log(1);
  }
};
</script>
